<template>
  <e-panel v-bind="opts">
    <template ##enableFlag="row">
      <n-tag :type="row.enableFlag ? 'success' : 'warning'" :bordered="false">{{ row.enableFlag_dict }}</n-tag>
    </template>
  </e-panel>
</template>

<script lang="ts" setup>
  import Model from './model'
  import { usePanel } from '@/components/ext'

  defineOptions({
    name: 'SysTableDictList'
  })

  const opts = usePanel(Model, { formProps: { cols: 4 } })
</script>

<style scoped></style>
